<template>
	<view>

	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad() {
			this.getRealName()
		},
		methods: {
			getRealName() {
				uni.showModal({
					title: '提示',
					content: '根据相关法律法规，用户申请提现需实名认证。',
					showCancel: false,
					confirmText: '实名认证',
					success: function(res) {
						if (res.confirm) {
							uni.redirectTo({
								url: '/pages/my/withdrawal/noRealNameUpload'
							})
						} else if (res.cancel) {
						}
					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>

</style>